package com.engineering.elink.dao;

import org.apache.ibatis.annotations.Param;

import com.engineering.elink.domain.Collection;

public interface CollectionMapper {
    int deleteByPrimaryKey(Integer collectionId);

    int insert(Collection record);

    int insertSelective(Collection record);

    Collection selectByPrimaryKey(Integer collectionId);

    int updateByPrimaryKeySelective(Collection record);

    int updateByPrimaryKey(Collection record);
    
  	int select(@Param("userId") String userId,@Param("fileId") String fileId);

	int delete(@Param("userId") String userId,@Param("fileId") String fileId);
}